﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Index.aspx.cs" Inherits="admin_Index" %>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>书畅网后台管理平台</title>
    <link href="css/admin.css" rel="stylesheet" type="text/css">
    <script type="text/javascript" src="js/jquery.js"></script>
    <script type="text/javascript" language="javascript">

        function funAdd()
        {
            window.location = "SysUserAdd.aspx";
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="header">
        <div class="header_toppd hidd">
        </div>
        <div class="header_cont">
            <div class="logo hidd">
                <a href="#">
                    <img src="img/logo.png" alt=""></a></div>
            <ul class="top_nav hidd">
                <li class="topcurr"><a href="#">导航菜单</a></li>
                <li><a href="#">导航菜单</a></li>
                <li><a href="#">导航菜单</a></li>
                <li class="libgnone"><a href="#">导航菜单</a></li>
            </ul>
            <div class="admin_xix hidd">
                <img src="img/admin_pic.png" alt="" class="fl">
                <div class="admin_cont hidd fr">
                    <h2>
                        <asp:Label ID="lblName" runat="server" Text=""></asp:Label>
                     </h2>
                    <p>
                        <asp:Label ID="lblEmail" runat="server" Text=""></asp:Label>
                    </p>
                    <p>
                        <a href="#">个人中心</a><span>|</span> 
                        <asp:LinkButton ID="LinkButton1" runat="server" onclick="LinkButton1_Click">退出</asp:LinkButton></p>
                </div>
            </div>
        </div>
    </div>
    <div class="center_box">
        <div class="left_nav hidd">
            <ul>
                <%--<li>
                    <h2>
                        网站基本信息管理</h2>
                    <div>
                        <a href="SysUserList.aspx" class="currleft" target="mainFrame">
                            <img src="img/icons/home.png" alt="">管理员管理</a> <a href="WebBaseInfo.aspx" target="mainFrame">
                                <img src="img/icons/form.png" alt="">网站基本信息设置</a> <a href="3.html" target="mainFrame">
                                    <img src="img/icons/file.png" alt="">菜单内容</a> <a href="4.html" target="mainFrame">
                                        <img src="img/icons/gallery.png" alt="">菜单内容</a> <a href="5.html" target="mainFrame">
                                            <img src="img/icons/table.png" alt="">菜单内容</a>
                    </div>
                </li>
                <li>
                    <h2 class="leftcurr">
                        一级菜单</h2>
                    <div class="none">
                        <a href="2.html" target="mainFrame">菜单内容</a> <a href="3.html" target="mainFrame">菜单内容</a>
                        <a href="4.html" target="mainFrame">菜单内容</a> <a href="5.html" target="mainFrame">菜单内容</a>
                    </div>
                </li>--%>
                <asp:Literal ID="ligMenu" runat="server"></asp:Literal>
                
            </ul>
        </div>
        <iframe src="WebBaseInfo.aspx" name="mainFrame" width="100%" height="100%" frameborder="0"
            marginheight="0" marginwidth="0" scrolling="auto" vspace="0"></iframe>
    </div>
    <div class="foot hidd">
        © 2011. Mandy Lane Premium Template. All Rights Reserved.
    </div>
    <script type="text/javascript">
        $(document).ready(function (e)
        {
            $(".top_nav li a").click(function ()
            {
                $(this).parent().addClass("topcurr").siblings().removeClass("topcurr");
            });
            //
            $(".left_nav ul li div a").click(function ()
            {
                $(".left_nav ul li div a").removeClass("currleft")
                $(this).addClass("currleft"); //.siblings().removeClass("currleft");

            });
            //
            $(".left_nav ul li h2").click(function ()
            {
                $(this).toggleClass("leftcurr").next("div").slideToggle(300);
            });
            //
            var h1 = document.body.scrollHeight;
            var h = document.documentElement.clientHeight;
            //$-140
            //var dh=$("#maindiv").height();
            if (h1 < h)
            {
                $ha = h - 160;
                $(".center_box").height($ha);
            }
            else
            {
                $hb = h1 - 160;
                $(".center_box").height($hb);
            }
        });
    </script>
    </form>
</body>
</html>
